package com.ouc.openplatform.ouc.authManage.service;
import java.util.List;
import com.ouc.openplatform.ouc.authManage.model.NJ_UserInfo;
import com.ouc.openplatform.pojo.EUDataGridResult;
public interface NJ_UserInfoService {
	//1.保存用户信息
	public int saveUserInfo(NJ_UserInfo userinfo);
	//2.删除用户信息
	public int deleteUserInfo(int id);
	//3.修改用户信息
	public int updateUserInfo(NJ_UserInfo userinfo);
	//4.获取所有用户信息-----sxl
	public List<NJ_UserInfo> getUserInfo(NJ_UserInfo userinfo);
	//5.查询所有用户(easyui专用)-----sxl
	public EUDataGridResult getAllUserInfo(NJ_UserInfo userinfo,int page, int rows);
	
	//获取用户信息总条数
	public int getAllCount();
	
	public int ifExistence(NJ_UserInfo user);
	
	public int getCountBynoname(String userno, String username);
	
}
